package eerbaar.client.exp;

public class ExpException extends Exception {

    private static final long serialVersionUID = 1L;

    public ExpException() {
        super();
    }

    public ExpException(String message) {
        super(message);
    }

    public ExpException(String message, Throwable cause) {
        super(message, cause);
    }

    public ExpException(Throwable cause) {
        super(cause);
    }

    public String getWord() {

        String word = "";
        if (super.getCause() != null) {
            word = super.getCause().getClass().getName();
        }

        return "@exception" + word;
    }
}
